Adding line and poly type