append contract was not returning the contract!