Added function for possibility of cutting variables