changed complex class to simple method

changed entire second file to simple method. makes for simpler method calls.