Refactored
Basic noise and filtering