Added std namespace, removed endl