updated samples closes #23