sample english code added in comments for function