changed fucntion name to shorter and more meaningful