handling field types