change slots to public