fixed function line()