Added push and removing duplicate functions (buggy)