check perms
add class