Coding outside class