Removed @TargetApi due to @illarionov suggestion