check functionality implemented