A possible solution for the last part