Demo code added for testing. Copied from school academy