Add lines from class