Remove Array Using Function