implementation of spreee