edited code styles