Added constants and modified serial out.