replaced with prewritten solution