constructor problem solved