worked on location class. Location attribute is null, needs work