added usage of callback parameter of push method