poty type functions