Implemented sampling maybe