Added getRecord() method and fixed spacing