adding proper calc using eval
button, events and eval calc complete