trying to impletment solution