starting on messages and cleaning up syntax