Template for oop attempt.