submitted working solution