fixed line creation, added beginning