My solution/ EloquentJS solution