solves CST-374