User defined demonstrate function