Added method validation