removed comments and debugging info.