Updating comments and adding std error