Changed resources to input