changed op return type from int to bool

also deleted an extra space