Random code i feel like uploading from module CS3015