trying some logic for array split & removal of first entry