using eval() in JAVA to provide you with flexibility