inheritance should work