append sort of working