Added a better alternative to eval()