add comments to helper functions, remove compiled files