sinperptr problem