minor changes ot method