changes to the main running on the panda