making compatible for mobile too