check if prodution worked