added collection and bind to appendItem function