extracted method and constant to increase readability