Adding in function details. Solve not working at this point