updated code styles