add inefficient solution to 401