Added basic function for check