variable p needs declaration in strict mode