created sample implementation