Added function for variable calling