needed echo for function