updated with auto