stuff for permission