Added method to get inputs