Sample factor now works