check functionality