making my code more friendly