side-effecting method should have (), same for pop