Made new init methods for slider