got rid of is_default code, although still in models