updated code fixed documentation