fixed errors - removed dummy code