Problem with eval(). Find out an alternative