removed some sample code