updated.... now works