add range method and few simple specs