For code from class