changed time of comment
got rid of error response function