Working on instance-based implementation.