code makes more sense now