renaming, error handling in fe