separated rb from php