trying to get it work perfect as it should