collapsing two methods to one - slightly clearer