structure pointer as argument handled