defining line method
making it clearer