Handles return values  - Thanks sinn3r