making class public