fixed solve function for now