Add support for slow version

now one can make switch between fast and slow version