Ashwins Codes plus some of mine