added stub logic