updated syntax
updated method names