This is for code I have taken from others