added first version of class reference