change to inline of class