add appropriate endpoints