line passed in add method