Remove temp variable p