assigment from class