move status method into gem