Implement between. Closes #503