better default code