rubyfied the pop calls