Revised contact class file