formatting and permission