added head method to allowed