added inkline functionality