fixed . notation in methods