Add pop method