initial support for adding a line to a specific location