created basic algorithm :beer: