Ammended check sub to method

Hi Both,

I have made amendments to the check sub as discussed in previous demo last week.

Feel free to try merging this pull request

Gav