Added return values to make it execute without errors.