Replaced lambda by proc to remove arguments number exception