Some initial attitude code