refactor of line/station accessor to method