created basic methods that will organise data