got implicit type checking working