add not found functionality