append not working