cleaning get_albums() code