Add some pre and post conditions