#19: store value and time
#19: fixing some capture issues and trying to improve speed
#19: export slicing to prolog