solves cst-394