introduced lowercase member names and removed sign warning
refixed warnings
adapted to return type changes, refixed sign warnings